package com.jk.xz.service;

import com.jk.AddressBean;
import com.jk.CinemaBean;
import com.jk.MovieHallBean;

import javax.servlet.http.HttpSession;
import java.util.HashMap;
import java.util.List;

public interface CinemaService {
    HashMap<String, Object> queryCinema(Integer page, Integer rows, CinemaBean cinema);

    List<MovieHallBean> getHall(Integer id);

    List<AddressBean> getCity();

    List<AddressBean> getCounty(Integer countyId);

    void addCinema(CinemaBean cinema);

    void delAll(String[] ids);

    CinemaBean byId(Integer id);

    HashMap<String, Object> queryHall(Integer page, Integer rows, MovieHallBean hall, HttpSession session);

    void addHall(MovieHallBean hall);

    List<CinemaBean> getCinema();

    MovieHallBean getHallById(Integer hallId);

    void delHall(Integer id);
}
